#!/bin/bash
echo "--- begin stop ---"

process_id=`ps -ef | grep zytwiki.jar | grep -v grep | awk '{print $2}'`
if [ $process_id ] ; then
 sudo kill -9 $process_id
fi

echo "--- end stop ---"